package com.chalk.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class OrderItemCartVo {
    /**
     * 订单明细项id
     */
    @ApiModelProperty(name = "orderItemId", value = "订单明细项id")
    @TableId(type = IdType.ID_WORKER_STR)
    private String orderItemId;


    /**
     * 订单id（对应t_order表主键）
     */
    @ApiModelProperty(name = "orderId", value = "订单id（对应t_order表主键）")
    @TableField("order_id")
    private String orderId;

    /**
     * 卖家id（对应t_seller表主键）
     */
    @ApiModelProperty(name = "sellerId", value = "卖家id（对应t_seller表主键）")
    @TableField("seller_id")
    private String sellerId;

    /**
     * 商品id
     */
    @ApiModelProperty(name = "itemId", value = "商品id")
    @TableField("item_id")
    private String itemId;

    /**
     * sku id
     */
    @ApiModelProperty(name = "skuId", value = "sku id")
    @TableField("sku_id")
    private String skuId;

    /**
     * sku快照id
     */
    @ApiModelProperty(name = "skuSnapId", value = "sku快照id")
    @TableField("sku_snap_id")
    private String skuSnapId;

    /**
     * 数量
     */
    @ApiModelProperty(name = "quantity", value = "数量")
    @TableField("quantity")
    private Integer quantity;

    /**
     * 价格（sku的单价）
     */
    @ApiModelProperty(name = "price", value = "价格（sku的单价）")
    @TableField("price")
    private Double price;

    /**
     * 商品名称
     */
    @ApiModelProperty(name = "itemName", value = "商品名称")
    @TableField("item_name")
    private String itemName;

    /**
     * sku名称（其值一般等于item_name 加 sku_sales_props)
     */
    @ApiModelProperty(name = "skuName", value = "sku名称（其值一般等于item_name 加 sku_sales_props)")
    @TableField("sku_name")
    private String skuName;

    /**
     * sku销售属性信息（规格信息）
     */
    @ApiModelProperty(name = "skuSalesProps", value = "sku销售属性信息（规格信息）")
    @TableField("sku_sales_props")
    private String skuSalesProps;

    /**
     * 国际条码类型（中国欧洲用EAN码，北美用UPC码，默认EAN）
     */
    @ApiModelProperty(name = "barcodeType", value = "国际条码类型（中国欧洲用EAN码，北美用UPC码，默认EAN）")
    @TableField("barcode_type")
    private String barcodeType;

    /**
     * 国际条码
     */
    @ApiModelProperty(name = "barcode", value = "国际条码")
    @TableField("barcode")
    private String barcode;

    /**
     * 商家自定SKU编号
     */
    @ApiModelProperty(name = "sellerSkuNo", value = "商家自定SKU编号")
    @TableField("seller_sku_no")
    private String sellerSkuNo;

    /**
     * SKU外部编号（一般用于对接外部系统）
     */
    @ApiModelProperty(name = "outerNo", value = "SKU外部编号（一般用于对接外部系统）")
    @TableField("outer_no")
    private String outerNo;

    /**
     * 认图片url（如SKU无自己的图片，则是商品图片）
     */
    @ApiModelProperty(name = "picUrl", value = "认图片url（如SKU无自己的图片，则是商品图片）")
    @TableField("pic_url")
    private String picUrl;

    /**
     * 品牌id(对应t_brand表)
     */
    @ApiModelProperty(name = "brandId", value = "品牌id(对应t_brand表)")
    @TableField("brand_id")
    private String brandId;

    /**
     * 品牌名称
     */
    @ApiModelProperty(name = "brandName", value = "品牌名称")
    @TableField("brand_name")
    private String brandName;

    /**
     * 买家id（对应t_member表主键）
     */
    @ApiModelProperty(name = "buyerId", value = "买家id（对应t_member表主键）")
    @TableField("buyer_id")
    private String buyerId;

    /**
     * 商品评论状态(1已评，0未评，默认为0)
     */
    @ApiModelProperty(name = "isCommented", value = "商品评论状态(1已评，0未评，默认为0)")
    @TableField("is_commented")
    private Integer isCommented;

    /**
     * 供应商sku编号
     */
    @ApiModelProperty(name = "suppSkuNo", value = "供应商sku编号")
    @TableField("supp_sku_no")
    private String suppSkuNo;

    /**
     * 促销价
     */
    @ApiModelProperty(name = "promoPrice", value = "促销价")
    @TableField("promo_price")
    private Double promoPrice;

    /**
     * 订单明细项折扣金额
     */
    @ApiModelProperty(name = "promoDiscountAmount", value = "订单明细项折扣金额")
    @TableField("promo_discount_amount")
    private Double promoDiscountAmount;

    /**
     * 非销售属性信息
     */
    @ApiModelProperty(name = "selectProps", value = "非销售属性信息")
    @TableField("select_props")
    private String selectProps;

    /**
     * 是否已删除（逻辑删除，1、已删除，0、未删除，默认0）
     */
    @ApiModelProperty(name = "isDeleted", value = "是否已删除（逻辑删除，1、已删除，0、未删除，默认0）")
    @TableField("is_deleted")
    private Integer isDeleted;
    /**
     * 积分
     */
    @ApiModelProperty(name = "integral", value = "积分")
    @TableField("integral")
    private Integer integral;

    /**
     * 商品分类id
     */
    private String[] itemCatIds;

    /**备注*/
    private String buyerMemo;

}
